package com.jhws.sys.role.bo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_role_permission")
@Entity
public class RolePermission {
    @Id
    @Column(name = "role_code")
    private String roleCode;

    @Column(name = "permission")
    private String permission;

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }
}
